package com.shanliao.request;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 用户注册请求
 * @author Jason
 *
 */
@Data
@ApiModel("用户注册请求参数")
public class UserRegisterRequest implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	/**
     * 手机号
     */
	@ApiModelProperty("手机号")
	@NotBlank(message = "手机号不能为空")
    private String phoneNum;

    /**
     * 昵称
     */
	@ApiModelProperty("昵称")
	@NotBlank(message = "{required}")
    private String nickName;

    /**
     * 密码
     */
	@ApiModelProperty("密码")
    @NotBlank(message = "{required}")
    private String password;

}
